//
//  RaTreeModel.h
//  OA项目
//
//  Created by innofive on 2018/5/9.
//  Copyright © 2018年 inno. All rights reserved.
//

#import "BaseModel.h"

@interface RaTreeModel : BaseModel


@property (nonatomic,assign) NSInteger level;//当前层级

@property (nonatomic,copy) NSString *name;//标题

@property (nonatomic,strong) NSArray *children;//子节点数组


//初始化一个model
- (id)initWithName:(NSString *)name children:(NSArray *)array;

//遍历构造器
+ (id)dataObjectWithName:(NSString *)name children:(NSArray *)children;
@end
